<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>面向对象-轮播</title>
    <link rel="stylesheet" href="./面向对象-轮播.css">
</head>

<body>
    <div class="box slideShow">
        <img src="./imgs/1.jpg" alt="">
        <ul>
            <li class="active"></li>
            <li></li>
            <li></li>
            <li></li>
            <li></li>
            <li></li>
            <li></li>
        </ul>
    </div>
    <div class="box slideShow2">
        <img src="./imgs/1.jpg" alt="">
        <ul>
            <li class="active"></li>
            <li></li>
            <li></li>
            <li></li>
            <li></li>
            <li></li>
            <li></li>
        </ul>
    </div>
</body>

</html>
<!-- <script src="./面向对象-轮播.js"></script> -->
<script type="module">
    import Carousel from './面向对象-轮播.js'
    const slideShow = new Carousel('.slideShow', {});
    const slideShow2 = new Carousel('.slideShow2', {});

</script>